FROM openanolis/anolisos:8.6

LABEL maintainer="OpenAnolis Cloud Native SIG"

RUN yum -y update \
    && yum -y install java-17-openjdk java-17-openjdk-devel \
    && yum clean all

ENV JAVA_HOME=/usr/lib/jvm/java-17-openjdk

RUN java --version \
    && javac --version

CMD ["jshell"]
